package org.wei.p2p.api.consumer.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author wei
 */
@Data
@Schema(title = "ConsumerDTO", description = "平台c端用户信息")
public class ConsumerDTO {

	@Schema(description = "用户id", name = "id")
	private Long id;

	@Schema(description = "用户名", name = "username")
	private String username;

	@Schema(description = "真实姓名", name = "fullName")
	private String fullName;

	@Schema(description = "身份证号", name = "idNumber")
	private String idNumber;

	@Schema(description = "用户编码，用户在存管系统标识，不允许重复", name = "userNo")
	private String userNo;

	@Schema(description = "手机号", name = "mobile")
	private String mobile;

	@Schema(description = "用户类型,个人or企业，预留", name = "userType")
	private String userType;

	@Schema(description = "角色", name = "role")
	private String role;

	@Schema(description = "存管授权列表", name = "authList")
	private String authList;

	@Schema(description = "是否已绑定银行卡", name = "isBindCard")
	private Integer isBindCard;

	@Schema(description = "启用状态", name = "status")
	private Integer status;

	@Schema(description = "可贷额度", name = "loanAmount")
	private BigDecimal loanAmount;

}
